import { useState } from "react";
function Bread(){
  const [count,setCount] = useState(0);
 const handleClick = ()=>{
    setCount(count+1)
  }

  return (
    <div>
      <div>{count}</div>
      <button onClick={handleClick}>count++</button>
    </div>
  )
}
export default Bread